<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Document</title>
        <style>
            /* 去掉某些元素自带的内外边距 */
            p,
            ul {
                margin: 0;
                padding: 0;
            }
            ul {
                /* 去掉图标 */
                list-style-type: none;
            }
            ul > li {
                float: left;
                margin-right: 20px;
            }
        </style>
    </head>
    <body>
        <ul>
            <li>首页</li>
            <li>免费课</li>
            <li>精品课</li>
            <li>直播课</li>
            <li>线下班</li>
        </ul>
    </body>
</html>
